package com.ai.imagetext.dto;

import com.ai.imagetext.entity.Image;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ImageDTO {
    private Long id;
    private Long userId;
    private String name;
    private String originalName;
    private String fileUrl;
    private Long fileSize;
    private String mimeType;
    private Integer width;
    private Integer height;
    private String description;
    private Image.AIRecognitionStatus aiRecognitionStatus;
    private List<String> tags;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private Integer usageCount;
    private List<TextContentDTO> textContents;
    private Integer textContentCount;
    private Integer generatedImageCount;
    
    // 搜索相关字段
    private Double relevanceScore; // 搜索相关性评分
    private List<String> highlights; // 高亮匹配信息
}